﻿using Microsoft.EntityFrameworkCore;
using Model;

namespace DAL
{
    public class HotelDbContext : DbContext
    {
        public HotelDbContext(DbContextOptions options) : base(options)
        {
            Options = options;
        }

        public DbContextOptions Options { get; }
        //居民管理表
        public DbSet<User> Users { get; set; }
        //职员列表
        public DbSet<Hotel> hotels { get; set; }


    }
}
